package com.oriental.manage.service.institution;

import com.oriental.manage.core.paging.Pagination;
import com.oriental.manage.core.response.ResponseDTO;
import com.oriental.manage.pojo.institution.BusitypeOrgRelationship;
import com.oriental.manage.pojo.institution.ChannelRelationship;

/**
 * Created by dongyy on 2017/5/10.
 */
public interface IChannelRelationshipService {

    void queryPage(Pagination<ChannelRelationship> pagination, ChannelRelationship channelRelationship);

    void addChannelRelationship(ResponseDTO<String> responseDTO, ChannelRelationship channelRelationship);

    void updateChannelRelationship(ResponseDTO<String> responseDTO, ChannelRelationship channelRelationship);

    void deleteChannelRelationship(ResponseDTO<String> responseDTO, ChannelRelationship channelRelationship);

    int check(ChannelRelationship channelRelationship);
}
